package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderPlanDao;
import com.appkubes.mall.core.entity.MallOrderPlan;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderPlanService extends AbstractBaseService<BaseMallOrderPlanDao, MallOrderPlan> {

    MallOrderPlan getOneByEntity(MallOrderPlan entity);

    List<MallOrderPlan> selectListByEntity(MallOrderPlan entity);

    IPage<MallOrderPlan> selectPageByEntity(IPage<MallOrderPlan> page);
    IPage<MallOrderPlan> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderPlan> selectPageByEntity(MallOrderPlan entity, IPage<MallOrderPlan> page);
    IPage<MallOrderPlan> selectPageByEntity(MallOrderPlan entity, PageVO pageVO);

    IPage<MallOrderPlan> selectPageByEntity(MallOrderPlan entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderPlan entity);
}
